package com.biz.primus.ms.promotion.dao.po;

import com.biz.primus.base.enums.CommonStatus;
import com.biz.primus.ms.base.jpa.po.BaseEntity;
import javax.persistence.Entity;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;
import lombok.Getter;
import lombok.Setter;

/**
 * 活动项
 *
 * @author david-liu
 */
@Entity
@Table(name = "pmt_activity_item")
@Getter
@Setter
public class ActivityItem extends BaseEntity {
    private static final long serialVersionUID = -52354038344957683L;

    /**
     * 活动ID
     */
    @ManyToOne
    @JoinColumn(name = "activity_id")
    private Activity activity;

    /**
     * 活动项名称
     */
    private String name;

    /**
     * 活动项描述
     */
    private String description;

    /**
     * 活动项图片
     */
    private String logo;

    /**
     * 活动项链接
     */
    private String url;

    /**
     * 活动项状态
     */
    private CommonStatus commonStatus;
}
